home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- BackColor = &H80000005&
- BorderStyle = 0 'None
- Caption = "Form1"
- ClientHeight = 3045
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 6825
- BeginProperty Font
- Name = "Verdana"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Icon = "TstFrm.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3045
- ScaleWidth = 6825
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- 'Revesion 3
- '// Cool Gui-Needs [Form.Borderstyle = 0]
- '// See X_gui.Initilise for Title Bar Gradent options.
- '// Coded By Xws
- '// Still Needs Resizeing Implemented.
- '// For thoes of you who want to help Improve it and get away from thoes dull Microsoft Title Bars! [Bring it ON :)]
- '// And for thoes of you Who Want to Profit by releasing oCx's to do it, [well im still Poor.]
- '// Have Fun you May Modify or use this as you want.
- '// If you want to Employee my services Email: [familae@familae.screaming.net]
- '// 3/10/99 -Revesion 1
- '// Upgraded Mouse Chking . now Accomplished via One Function.
- '// Riped out old Standalone Mouse cheaking Subs.
- '// Riped out old PrintF Function /Upgraded PrintF3 function.
- '// Made a suttle change to the titlebar , lets see if you notice.
- '// Needs a new Icon Drawing Function:
- ' Mabye if we bltbit the Icon Handle with Stretch_mode it will turn out better
- ' any thoughts are welcome.
-
- '// 7/10/99 -Revesion 2
- '//Just Upgraded Genral Code [A bit more Proffesional] genral streamlining also tidyed up the API Decs
- '//Restore and Maximize now works.
- '//Fixed that Nasty Redraw, Caused by Mouse_Up Function Now Calls Draw_buttons instead of Gui.
- '// Back on the Subject of the Icon as i never got any feed from you guys.
- ': Could the DrawIconEx function Be turning out Horrific
- ': due to the MM_MAP MODE of the HDC ?? - if so what Problems Does it Propose.
- ': Cause it would be handy if i could just use the damn DrawIcon Function :(
-
-
- '//Now needs a routine to set the form.left ,top,width,height values to there relivant cordinats based on the Gui ?
- '//More possiblitys :
- 'altimitly i would like to figure out how access the memmory template for the System Menu,
- 'there must be a Window Style Flag to turn on the system Hmenu of the form.
- 'Thus we can Pop it up under the Ico and have all the functionality of the genric forms.
-
-
- '// 8/10/99 -Revision 3
- '// Fixed Moveing the form from anyware problem , now can only be moved by title ,Mabye ill leave that one optional.
- '// Fixed Moveing when maximized Problem.
- '// Added New Const's
- 'Button_Size -Size of Form Buttons
- 'Frame_Size -Size of Frame
- 'Gradient Finess -Incremintation Cycles for Gradient
- '// Fixed Button Allighnment now does it properley. Based on [Button_Size * Nummber_of_Buttons]
-
-
-
-
-
- Private Gui As New X_gui
- Private Sub Form_Load()
- Set Gui.OwnerForm = Form1
- Gui.Titlebar_BarColor = RGB(0, 0, 0)
- Gui.Titlebar_FrameColor = RGB(0, 0, 0)
- Gui.Titlebar_Txtfgcolor = RGB(0, 0, 0)
- End Sub
- Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Gui.Mouse_Down
- End Sub
- Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Gui.Mouse_Up
- End Sub
- Private Sub Form_Paint()
- Gui.Gui
- End Sub
-